#pragma once
#include "GameObjectManager.h"
#include "DominoBlocks.h"

class Domino :public GameObjectManager
{
public:
	Domino(){}
	~Domino(){DestroyAllObjects();}

	void Init(D3DXVECTOR3 pos);
	void AllignDomino();

private:
	D3DXVECTOR3 Position;
};

class TheDomino
{
public:
	static Domino& Get()
	{
		if (!domino)
		{
			domino = new Domino();
		}
		return *domino;
	}
	static void Kill()
	{
		if(domino)
		{
			delete domino;
			domino = 0;
		}
	}
private:
	TheDomino(){}
	~TheDomino(){}

	static Domino* domino;
};
